package com.fablezj.trackgen.controller.view;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首页视图控制器
 * @author afeey
 */
@Controller
public class ViewController {

    /**
     * 主页
     * @return view
     */
    @RequestMapping("")
    public String index() {
        return "index";
    }

    /**
     * 百度
     * @return view
     */
    @RequestMapping("/bd")
    public String bd() {
        return "bd";
    }

    /**
     * 高德
     * @return
     */
    @RequestMapping("/gd")
    public String gd() {
        return "gd";
    }

    /**
     * OpenStreet
     * @return
     */
    @RequestMapping("/os")
    public String os() {
        return "os";
    }

    /**
     * 坐标转换
     * @return
     */
    @RequestMapping("/convert")
    public String convert() {
        return "convert";
    }
}
